package com.shxc.smarttrade.index.model;

/**
 * 是否还有未读消息
 */

public class MessageHavingModel {
    /**
     * data : {"haveMsg":true}
     * err_code : 0
     * err_msg : successe
     */

    private DataBean data;
    private String err_code;
    private String err_msg;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public static class DataBean {
        /**
         * haveMsg : true  //true 还有未读  false 没有未读消息
         * "msgNum": 0 //消息条数
         */

        private boolean haveMsg;
        private int msgNum;

        public boolean isHaveMsg() {
            return haveMsg;
        }

        public void setHaveMsg(boolean haveMsg) {
            this.haveMsg = haveMsg;
        }

        public int getMsgNum() {
            return msgNum;
        }

        public void setMsgNum(int msgNum) {
            this.msgNum = msgNum;
        }
    }
}
